package service;

import org.apache.ibatis.annotations.Param;
import pojo.*;
import vo.ResponseVo;

import java.util.List;

public interface IBusinessService {
    ResponseVo<List<Business>> getBusinessList();
    ResponseVo<Business> findBusinessById(Integer id);

    ResponseVo<List<Business>> getTop3BusinessList();

    ResponseVo<List<Business>> findBusinessByOrderTypeId(@Param("id") Integer id);

}
